package com.bank.bank.transaction.pojo.vo;

import lombok.Data;

import java.util.Date;

/**
 * 查看交易详情的VO类
 */
@Data
public class TransactionDetailVO {
    private Integer id;  //交易id
    private String type; //交易类型
    private Double amount; //金额
    private Date createdAt; //交易时间

    //源账户信息
    private Integer fromAccountId;
    private String fromAccountNumber;
    private String fromCustomerName;

    //目标账户信息
    private Integer toAccountId;
    private String toAccountNumber;
    private String toCustomerName;
}









